package com.hzvtc.bosswang.manageeducation.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hzvtc.bosswang.manageeducation.domain.Course;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CourseService {
    Integer addCourse(Course course);

    Integer editCourse(Course course);

    Integer deleteCourse(Long id);

    Course selectCourseById(Long id);

    Page<Course> listCourse(Page<Course> page, @Param("course") Course course);

}
